<?php
/**
 * 抽象类，定义一个Accept操作
 * Class ElementPerson
 */
abstract class ElementPerson
{
    public $type_name;

    /**
     * 接受
     * @param VisitorState $visitorState
     * @return mixed
     */
    abstract public function accept(VisitorState $visitorState);
}


